package com.media.publish.utils;

import com.baselibrary.net.result.HttpResult;
import com.baselibrary.UserInfo;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * @author zhanglijie
 * @description:
 * @date : 2021/05/13
 */
public interface WineCoinsApi {
    /**
     * //     * 获取热门搜索
     * //     *
     * //     * @param token
     * //     * @return
     * //
     */
    @FormUrlEncoded
    @POST("score/shareSuccessHandle")
    Observable<HttpResult<Integer>> getWineCoins(@Field("token") String token, @Field("type") int type);

    @FormUrlEncoded
    @POST("web/user/getUserInfo")
    Observable<HttpResult<UserInfo.DataBean>> upUserInfo(@Field("token") String token);

}
